package com.burgeon.backend.SHOP.mappers;

import com.burgeon.backend.entity.User;

import java.util.List;


public interface AppUserMapper {

    String findData(String id, String token);

    Integer AddUser(User user);

    User GetUserByPhone(String phone, String token);

    Integer UpAppOpenidByPhone(String phone, String openid, String openidV, String discount, String isPlus, String token);

    User GetUserByOpenid(String openid, String token);

    String GetUserImgByPhone(String phone, String token);

    Integer UpIsOfficial(String isOfficial, String id, String token);

    /*String findIsPlus(String uid);*/

    void upUserIsPlus(String uid, String token);

    List<User> findUids(String token);

    User findUserInfo(String token, String uid);
}
